package wei.xinya.pattern.creational.factory.FactoryMethod;

import wei.xinya.pattern.creational.factory.shape.Rectangle;
import wei.xinya.pattern.creational.factory.shape.Shape;

public class RectangleFactory implements Factory {
    @Override
    public Shape getShape() {
        return new Rectangle();
    }
}
